package com.glela.order.model.response;

import java.util.Collection;
import java.util.LinkedList;
import java.util.List;

import com.glela.order.model.PayTypeConfig;
import com.glela.order.model.vo.order.ErrorMsgVo;
import com.glela.platform.vo.GoodsSimpleVo;
import com.glela.platform.vo.UserPromotionVo;

/**
 * 去结算响应订单信息
 * @author zls
 *
 */
public class RespGetOrderInfo {
	private String						token;														//重复提交验证
	private boolean						payable;													//是否可支付
	private int							totalPrice;													//总实际售价
	private List<GoodsSimpleVo>			goodsSimpleVoList;											//购买商品列表
	private Collection<UserPromotionVo>	userPromotionList	= new LinkedList<UserPromotionVo>();	//优惠券
	private List<PayTypeConfig>			payTypeConfigList	= new LinkedList<PayTypeConfig>();		//支付方式
	private int							freight;
	private ErrorMsgVo					errorMsg			= new ErrorMsgVo();

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public boolean isPayable() {
		return payable;
	}

	public void setPayable(boolean payable) {
		this.payable = payable;
	}

	public int getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(int totalPrice) {
		this.totalPrice = totalPrice;
	}

	/** 购买商品列表 */
	public List<GoodsSimpleVo> getGoodsSimpleVoList() {
		return goodsSimpleVoList;
	}

	/** 购买商品列表 */
	public void setGoodsSimpleVoList(List<GoodsSimpleVo> goodsSimpleVoList) {
		this.goodsSimpleVoList = goodsSimpleVoList;
	}

	public Collection<UserPromotionVo> getUserPromotionList() {
		return userPromotionList;
	}

	public void setUserPromotionList(Collection<UserPromotionVo> userPromotionList) {
		this.userPromotionList = userPromotionList;
	}

	public List<PayTypeConfig> getPayTypeConfigList() {
		return payTypeConfigList;
	}

	public void setPayTypeConfigList(List<PayTypeConfig> payTypeConfigList) {
		this.payTypeConfigList = payTypeConfigList;
	}

	public int getFreight() {
		return freight;
	}

	public void setFreight(int freight) {
		this.freight = freight;
	}

	public ErrorMsgVo getErrorMsg() {
		return errorMsg;
	}

}